package com.yintao.ytframe.base.design.abfactory;

public class AppointFactory {

    public IAppointApiService getAppointService(String type) {
        if ("1".equals(type)) {
            return new ExamAppointService();
        } else if ("2".equals(type)) {
            return new TeethAppointService();
        }
        return null;
    }

}
